package OCPrinciple;

/**
 * @author lishunlin110
 * @version 1.0
 * @description: 测试可行性
 * @date 2021/8/19 1:23
 */
public class Client {

    public static void main(String[] args) {
        //输入法皮肤
        OutPutSkin skin= new OutPutSkin();
        //创建皮肤
        DefaultSkin defaultSkin = new DefaultSkin();
        MySkin mySkin = new MySkin();
        NewSkin newSkin = new NewSkin();
        //输入皮肤类型
        skin.setSkin(newSkin);
        skin.display();
    }

}
